/* reset css */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #050505;
}

input {
    border: 0px;
    box-sizing: border-box;
}

body {
    background-color: #f3f5f7;
    font-family: 'Microsoft Yahei', serif;
}

/* 清除浮动 */
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/*header*/
header{
    height: 100px;
    overflow: hidden;
}
header .wrapper{
    width: 1366px;
    height: 42px;
    margin: 26px auto;
}
header .logo{
    float: left;
}
header .navbar{
    float: left;
    height: 42px;
    line-height: 42px;
    margin-left: 50px;
}

header .navbar li{
    float: left;
}

header .navbar li a{
    display: block;
    padding: 0 10px;
    height: 42px;
}
header .navbar li a:hover{
    border-bottom: 2px solid  #00A4FF;
}
/*搜索*/
header .search{
    position: relative;
    width: 410px;
    height: 38px;
    float: right;
}
header .search input[type=text]{
    width: 410px;
    height: 38px;
    padding-left: 10px;
    border: 1px solid #00A4FF;
    outline: none;
}

header .search input[type=submit]{
    position: absolute;
    top: 0; 
    right: 0;
    width: 50px;
    height: 38px;
    background: url(../images/sousuo.png) center center no-repeat;
}

header .profile{
    float: right;
    height: 42px;
    line-height: 42px;
    margin: 0 15px 0 35px;
}

header .profile img{
    margin: 0 15px;
    vertical-align: middle;
}
/*banner部分*/
.container{
    width: 1200px;
    margin: 0 auto;
}

.banner{
    height: 420px;
    background-color: #1C036C;
    position: relative;
}

.banner .container{
    height:420px;
    background: url(../images/banner2.png) no-repeat center center;
}

.banner .subnav{
    float: left;
    height: 420px;
    width: 190px;
    background-color: rgba(0, 0, 0, 0.3)
}

.banner .subnav li{
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.banner .subnav li a{
    color: #fff;
    font-size: 14px;
}
.banner .subnav li a:hover{
    color: #00A4FF;
}

.banner .subnav a span{
    float: right;
}

/*右侧我的课程表*/

.banner .course{
    float: right;
    width: 230px;
    height: 330px;
    margin-top: 50px;
    background: #fff;
}

.banner .course h2{
    height: 48px;
    background-color: #6bceea ;
    color: #fff;
    line-height: 48px;
    font-size: 18px;
    text-align: center;
}

.banner .course .content{
    padding: 0 20px;
}
.banner .course .content li{
    padding: 17px 0;
    border-bottom: 1px solid #ccc;
}
/*单独取消或者设置最后一个元素样式*/
.banner .course .content li:last-child{
    border-bottom: none;
}
.banner .course .content li:last-child h4,
.banner .course .content li:last-child p{
    color: #00A4FF;
}

.banner .course .content li h4{
    font-size: 16px;
    color:#4e4e4e;
}

.banner .course .content li p{
    color: #a5a5a5;
}

.banner .course .content .more{
    display: block;
    margin-top: 5px;
    border: 1px solid #00A4FF;
    height: 38px;
    line-height: 38px;
    font-weight: bolder;
    text-align: center;
    color: #00A4FF;
}

/*轮播圆点*/
.banner .circle{
    width: 180px;
    height: 22px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -90px;
}

.banner .circle li{
    float: left;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4) ;
    margin: 6px 8px;
    border-radius: 50%;
}

.banner .circle .current{
    width: 19px;
    border-radius: 5px;
    background-color: #fff;
}

/*精品推荐*/
.recommend {
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    margin-top: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}
.recommend a {
    padding: 0 30px;
    border-right: 1px solid #ccc;
}
.recommend a:hover {
    color: #00a4ff;
}

.recommend a:first-child {
    color: #00a4ff;
}
.recommend a:last-child {
    color: #00a4ff;
    border: 0;
    float: right;
    font-size: 14px;
}

/*推荐课程部分*/
.recommed-courser{
    margin-top: 35px;
}

.recommed-hd{
    height: 40px;
}

.recommed-hd h4{
    float: left;
    color: #494949;
}
.recommed-hd a{
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 14px;
    color: #a5a5a5;
}
.recommed-hd a:hover {
    color: #00a4ff;
}

.recommed-bd ul li{
    width: 228px;
    height: 270px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    float: left;
    margin-right: 15px;  
    margin-top: 15px;
}
.recommed-bd ul li:nth-child(5n) {
    margin-right: 0;
}

.recommed-bd li h5,
.recommed-bd li p {
    padding: 0 20px 0 24px;
    margin-top: 12px;
}

.recommed-bd li h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

.recommed-bd li p {
    font-size: 12px;
    color: #999;
}

.recommed-bd p span {
    color: #ff7c2d;
    padding-right: 10px;
}

/*编辑入门部分*/

/*头部导航部分*/
.program{
    margin-top:30px;
}

.program-hd h4 {
    float: left;
    color: #494949;
    margin-right: 352px;
}

.program-hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 14px;
    color: #a5a5a5;
}

.program-hd a:hover {
    color: #00a4ff;
}

.program-hd ul {
    float: left;
}

.program-hd ul li {
    float: left;
    font-size: 16px;
    padding: 0 36px;
}

.program-hd ul li a {
    color: #a7a8a9;
}

/*编辑入门主体部分*/

.program-bd {
    margin-top: 15px;
}

.program-bd-l {
    width: 228px;
    height: 390px;
    float: left;
    margin-right: 15px;
    overflow: hidden;
}

.program-bd-r {
    float: right;
}

.program-bd-r-bottom ul li {
    width: 228px;
    height: 270px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    float: left;
    margin-right: 15px;
    margin-top: 15px;
}

.program-bd-r-bottom ul li:nth-child(4n) {
    margin-right: 0;
}
/*字体编辑部分*/
.program-bd-r-bottom li h5,
.program-bd-r-bottom li p {
    padding: 0 20px 0 24px;
    margin-top: 12px;
}

.program-bd-r-bottom li h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

.program-bd-r-bottom li p {
    font-size: 12px;
    color: #999;
}

.program-bd-r-bottom p span {
    color: #ff7c2d;
    padding-right: 10px;
}

/*机器学习工程师部分*/
.program-bd-machine ul li {
    width: 228px;
    height: 270px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    float: left;
    margin-right: 15px;
    margin-top: 15px;
}

.program-bd-machine ul li:nth-child(5n) {
    margin-right: 0;
}

/*字体编辑部分*/
.program-bd-machine li h5,
.program-bd-machine li p {
    padding: 0 20px 0 24px;
    margin-top: 12px;
}

.program-bd-machine li h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

.program-bd-machine li p {
    font-size: 12px;
    color: #999;
}

.program-bd-machine p span {
    color: #ff7c2d;
    padding-right:8px;
}



/*牛人推荐部分*/
.genius{
    margin-top: 30px;
}

.genius .genius-top ul li {
    width: 228px;
    float: left;
   overflow: hidden;
   margin-right: 15px;
}

.genius .genius-top ul li:nth-child(5n) {
    margin-right: 0;
}

.genius .genius-bottom .genius-bottom-l{
    float: left;
margin-right:2px;
}

.genius .genius-bottom img{
    margin-right:4px;
}
.genius .genius-bottom img:nth-child(3n) {
    margin-right: 0;
}

/*footer页脚部分*/

.footer {
    height:270px;
    background-color: #ffffff;
    margin-top:60px;
}

.footer-in {
    padding-top:30px;
}

.footer-l {
    float: left;
}

.footer-l p {
    font-size: 12px;
    line-height: 18px;
    color: #999;
    margin-top:10px;
}

.footer-l a {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    font-size: 16px;
    line-height: 33px;
    margin-top: 15px;
    color: #00A4FF;
}

.footer-r {
    float: right;
    color: #333;
}

.footer-r dl {
    float: left;
    width: 225px;
}

.footer-r dt {
    font-size: 16px;
    height: 30px;
}

.footer-r dd {
    font-size: 12px;
    height: 20px;
}

.footer-r dd a:hover {
    color: #00a4ff;
    text-decoration: underline;
}

